import { axios } from '@/utils/request'

const api = {
  getAdoptSetting: '/adopt/adopt/get-adopt-setting',
  saveAdoptSetting: '/adopt/adopt/save-adopt-setting',

}

export default api

export function getAdoptSetting(parameter) {
  return axios({
    url: api.getAdoptSetting,
    method: 'get',
    params: parameter
  })
}


export function saveAdoptSetting(parameter) {
  return axios({
    url: api.saveAdoptSetting,
    method: 'post',
    data: parameter,
  })
}